package com.huluobo.mvvmdemo1903a.mvp.model;

import android.widget.Toast;

/**
 * Created by lc on 2021/11/22.
 */
public class UserImpl implements IUserImpl {
    @Override
    public boolean login(String userName, String password) {
        if (userName.equals("lc") && password.equals("123")) {
            User user = new User();
            user.setUserName(userName);
            user.setPassword(password);
            return true;
        }
        return false;
    }
}
